package app.dev.ems.web.element.menu;

import app.dev.ems.web.element.IBaseElement;

public enum MenuElement implements IBaseElement {
	HORIZONTAL_NAVIGATION("horizontalNavigation"),  
	VERTICAL_NAVIGATION("verticalNavigation"),

	ACTIVE_HORIZONTAL_MENU_ITEM_CSS_CLASS(CSSClass.HORIZONTAL),
	ACTIVE_VERTICAL_MENU_ITEM_CSS_CLASS(CSSClass.VERTICAL);
	
	private String element;
	private CSSClass cssClass;
	
	private MenuElement(String element) {
		this.element = element;
	}
	
	private MenuElement(CSSClass cssClass) {
		this.cssClass = cssClass;
	}

	public String getElement() {
		return element;
	}
	
	public CSSClass getCssClass() {
		return cssClass;
	}

	public enum CSSClass {
		HORIZONTAL("activeHorizontalNav"),
		VERTICAL("activeVrticalNav");

		private String cssClass;

		private CSSClass(String cssClass) {
			this.cssClass = cssClass;
		}

		public String getCssClass() {
			return cssClass;
		}
	}
}
